Skip to content

Conversation

@a-s-g93
Copy link
Collaborator

@a-s-g93 a-s-g93 commented Oct 29, 2025

Description

create tools for turtle OWL import / export

Type of Change

  • New feature
  • Bug fix
  • Breaking change
  • Documentation update
  • Project configuration change

Complexity

  • LOW
  • MEDIUM
  • HIGH

Complexity:

How Has This Been Tested?

  • Unit tests
  • Integration tests
  • Manual tests

Checklist

The following requirements should have been met (depending on the changes in the branch):

  • Documentation has been updated
  • Unit tests have been updated
  • Integration tests have been updated
  • Server has been tested in an MCP application
  • CHANGELOG.md updated if appropriate

g.add((rel_uri, RDFS.domain, base_ns[rel.start_node_label]))
g.add((rel_uri, RDFS.range, base_ns[rel.end_node_label]))

# If relationship has properties, create datatype properties
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lines 622-635 should be removed
In OWL only instances of classes can have properties. Instances of relationships can't.
If we state that the domain of property x is Y (y being a relationship/objectproperty), OWL will interpret it as "Y is a class".
This effectively means that a mermaid-to-OWL translation is potentially lossy because of the limited expressivity of RDF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants